<template>
  <div class="about">
    <div class="block">
      <h3>count 的值为:{{count}} </h3>

    </div>
  </div>
</template>

<script>
export default {
  name: "News",
  data() {
    return {
      user: {},
    };
  },
  mounted() {
    this.load();
  },
  methods: {
    load(){
      let user = JSON.parse(sessionStorage.getItem("user"))
      this.user = user
      console.log(this.user)
    }
  }
}
</script>

<style>
.about{
  width: 100%;
  min-height: 666px;
}
/*
.block{
  width: 80%;
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}*/
</style>